import {
  request
} from './request'

export function getGoodsList(queryInfo) {
  return request({
    url: 'goods',
    params: queryInfo
  })
}

export function removeGoodsById(id) {
  return request({
    url: 'goods/' + id,
    method: 'delete'
  })
}